home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d20
/
fdpi_201.arc
/
FDPI.DOC
< prev
next >
Wrap
Text File
|
1991-08-13
|
6KB
|
195 lines
FrontDoor Protected Inbound (FDPI)
Version 2.01
Copyright (c) 1990/91 by Ulrich Bartelt
FidoNetnode 2:241/5801
Frodo-Help 2:24/4
FDPI is a quick and dirty utility to add a THREE level security
to FrontDoor.
With version 2.01, FDPI has now the ability to move messages
of deticated nodes to a special directory. Therefore it needs
a configurationfile. I do *NOT* make any syntax checks in
reading in this file to save code and time. Normally you only
have to setup this file one time and forget it. While FDPI
has a configfile now, you don't need any commandline parameters
any longer. Everything not in the configfile, FDPI will find in
SETUP.FD.
The configurationfile you have to set-up must be named FDPI.CFG
and must contain at least 3 lines. The file must be in the same
directory where SETUP.FD exists !
Lines in FDPI.SYS (all begining at the fist char and a CR after
the last char):
1. Directory of your unprotected mail
2. Directory for mail from twit systems
3. A system defined as TWIT
Now you can define up to 200 other systems TWIT
NOTE: If you do not want to define *ANY* twitsystem the lines
1. and 2. should be the same (your unprotect dir) *AND*
you must define a dummy system like 99:1111/99.99 you will
never get traffic with.
The rules to put in a twit system in the configfiles are the
same as everywhere in the FDSETUP programm of FrontDoor.
Examples: ( I am 2:241/5800)
.99 = 2:241/5800.99
244/2 = 2:244/2.0
5600 = 2:241/5600.0
What it does:
FDPI looks in the history files for the last entry. If it was a
inbound call that should be the zone:net/node.point from whom you
just have received mail.
A quick look is taken if there was any incoming bytes greater than
100. Less than 100 bytes could normally not be any mail or arcmail,
so we can exit here.
Then FDPI will check the address against the 'twitsystemlist'.
If found, FDPI will move the mail/files to the defined dir,
regardless if it was a protected or unprotected session.
If NOT twit, FDPI looks in your password file to see, if the
node is also listet there. If true - fine, nothing to do.
If not found (or TWIT) , FDPI will do a quick move of all files
in your inbound to a unprotected mail dir that have the archive
bit set.
After every run, FDPI will set all remaining files in your
inbound to status 0. That means new arrived files MUST be decteced
by FDPI because they have the archive bit set.
SYNTAX: FDPI [-q]
The commandlineswitch -q will prevent FDPI from writing a message
to you.
- - - - N O T E - - - - -
FDPI only works properly if you exit after ANY kind of
receiving mail. FDPI will not waste your time. On my system
it only takes 0.11 seconds if there is nothing to do for FDPI
and moving 20 entrys will take 2 seconds.
Be sure that you have set up: ( Mailer, Miscellaneous )
Trigger exit upon receipt of netmail Yes
└ Upon receipt of ANY file Yes
Logging:
FDPI logs its activities in a file called FDPI.LOG
You will also find a private netmail that tells you, that
mail was moved to the unprotected directory and what node
has sent the mail if you do not call FDPI with the -q para-
meter
WARNING:
While FDPI uses the archivebit to detect if a file is old
or new, you have to take care that you manually reset this
bit if you will make a backup of your inbound with a program
that needs this archivebit.
The logic of FDPI:
see the file FDPI.SRG in the archive.
-----------------------------------------------------------------
If you think, FDPI is a usefull utility for your system, please
write a postcard with your network address to:
Ulrich Bartelt
Schillerstr. 45
D-5802 Wetter 2
Germany
Licence agreement:
You can use FDPI as long as you want on a noncommercial system.
If you run a commercial system you have to pay a fee of 15 $ (US)
to the above address if you use it for more than 21 days.
Under no circumstances you may distribute FDPI on disk without
the special allowence of its author.
History:
Version 1.00 and 1.01
only for Betatesting
Version 1.02
Changed * to - in the logfile to prevent a interference with
logfile utilies.
Version 1.03
Still some problems with other utilities, so FDPI writes its
own logfile now in the directory FD points to. Name is
FDPI.LOG.
Added Quietmod. With -q at the commandline, FDPI will *NOT*
write netmail messages.
Version 1.04
Only if a system is marked as ACTIVE in Frodo's setup, FDPI
assumes a passworded session.
Big security hole in the previous versions: If someone sents
a file twice, FDPI ended with an 'Error 0005' and the file
remained in the inbound directory. Fixed now !! The file
will be moved and gets a new name with increasing numbers
at the fileextension.
Version 2.00
Added third level for twitsystems.
Version 2.01
Changed names of files, FDPI looks for to match the new FD 2.01
filenames. FDPI 2.01 will *NOT* run with FD 1.99c!
Added Errorlevels:
99 - internal
98 - internal
4 - password protected session
3 - unprotected session
2 - does not look like any kind of mail
1 - TwitMail found
FDPI.CFG is now case insensitiv.